new Vue({
    el: '#app',
    data() {
        return {
            size: '',
            circleUrl: "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
            squareUrl: "https://cube.elemecdn.com/9/c2/f0ee8a3c7c9638a54940382568c9dpng.png",
            sizeList: ["large", "medium", "small"],
            UserInfo:{},
            value: new Date()
        }
    },
    mounted() {
        this.getPersonInfo($.cookie("use")) 
    },
    methods: {
        getPersonInfo(Primary_Key) {
            let _this = this
            $.ajax({
                type: 'POST',
                url: `${DomainName}/GoodsInquiryKeyOriginal`,
                data: {
                    Primary_Key_Name: 'User_Number', //主键名
                    Primary_Key, //主键值
                    Data: 'system_user_info',
                },
                complete: function (XMLHttpRequest) {
                    if (XMLHttpRequest.getResponseHeader("REDIRECT") == "REDIRECT") {
                        window.parent.document.location.href = "../../../" + XMLHttpRequest.getResponseHeader("CONTENTPATH");
                    }
                },
                success: function (Result) {
                    console.log(Result)
                    _this.UserInfo = Result[0]
                },
                dataType: "json"
            });
        }
    },
})